<?php

namespace Pyaf\GymBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Calendario
 *
 * @ORM\Table()
 * @ORM\Entity(repositoryClass="Pyaf\GymBundle\Repository\CalendarioRepository")
 */
class Calendario
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string
     *
     * @ORM\Column(name="title", type="string", length=50)
     */
    private $title;

    /**
     * @var string
     *
     * @ORM\Column(name="start", type="string", length=50)
     */
    private $start;

    /**
     * @var string
     *
     * @ORM\Column(name="end", type="string", length=50, nullable=true)
     */
    private $end;

    /**
     * @var string
     *
     * @ORM\Column(name="url", type="string", length=50, nullable=true)
     */
    private $url;
    
    /**
     * @var boolean
     *
     * @ORM\Column(name="allDay", type="boolean")
     */
    private $allDay;
    
    /**
     * @var boolean
     *
     * @ORM\Column(name="editable", type="boolean")
     */
    private $editable;
    
    /**
     * @var integer
     *
     * @ORM\Column(name="id_rutina", type="integer", nullable=true)
     */
    private $id_rutina;

    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set title
     *
     * @param string $title
     * @return Calendario
     */
    public function setTitle($title)
    {
        $this->title = $title;
    
        return $this;
    }

    /**
     * Get title
     *
     * @return string 
     */
    public function getTitle()
    {
        return $this->title;
    }

    /**
     * Set start
     *
     * @param string $start
     * @return Calendario
     */
    public function setStart($start)
    {
        $this->start = $start;
    
        return $this;
    }

    /**
     * Get start
     *
     * @return string 
     */
    public function getStart()
    {
        return $this->start;
    }

    /**
     * Set end
     *
     * @param string $end
     * @return Calendario
     */
    public function setEnd($end)
    {
        $this->end = $end;
    
        return $this;
    }

    /**
     * Get end
     *
     * @return string 
     */
    public function getEnd()
    {
        return $this->end;
    }

    /**
     * Set url
     *
     * @param string $url
     * @return Calendario
     */
    public function setUrl($url)
    {
        $this->url = $url;
    
        return $this;
    }

    /**
     * Get url
     *
     * @return string 
     */
    public function getUrl()
    {
        return $this->url;
    }
    

    /**
     * Set allDay
     *
     * @param boolean $allDay
     * @return Calendario
     */
    public function setAllDay($allDay)
    {
        $this->allDay = $allDay;
    
        return $this;
    }

    /**
     * Get allDay
     *
     * @return boolean 
     */
    public function getAllDay()
    {
        return $this->allDay;
    }

    /**
     * Set editable
     *
     * @param boolean $editable
     * @return Calendario
     */
    public function setEditable($editable)
    {
        $this->editable = $editable;
    
        return $this;
    }

    /**
     * Get editable
     *
     * @return boolean 
     */
    public function getEditable()
    {
        return $this->editable;
    }

    /**
     * Set id_rutina
     *
     * @param integer $idRutina
     * @return Calendario
     */
    public function setIdRutina($idRutina)
    {
        $this->id_rutina = $idRutina;
    
        return $this;
    }

    /**
     * Get id_rutina
     *
     * @return integer 
     */
    public function getIdRutina()
    {
        return $this->id_rutina;
    }
}